class Solution {
public:
    char findTheDifference(string s, string t) {
        int  sum=0;
        for(char a:s)
            sum^=a;
        for(char a:t)
            sum^=a;
        return sum;
    }
};